package com.模板方法模式.方法模板;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/7/7 10:11
 * @description:
 * @version:
 */
public class StudLess implements ILess<Student>{
    @Override
    public boolean less(Student x, Student y) {
        return x.grade < y.grade;
    }
}